/*
 * Copyright (C) 2010 Tetsuya Yasuda <tetsuyayasuda@gmail.com>
 */
package jp.tyas.libs.lisp;

import java.util.Hashtable;

public class SymbolContext extends Context
{
    Hashtable tab = new Hashtable ();

    public SymbolContext (Context parent)
    {
        super(parent);
    }

    public void set (Symbol sym)
    {
        tab.put (sym.getName (), sym);
    }

    public Symbol get (String name)
    {
      return (Symbol)tab.get (name);
    }
}
